package com.xt.dao;

import com.xt.bean.StudentScore;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * Created by XT on 2018/5/3.
 */
public interface StudentScoreRepository extends MongoRepository<StudentScore,String> {

    Page<StudentScore> findByStudentIdLikeAndCourseIdLikeAndTeacherIdLikeAndClassIdLikeAndStudentSchoolNumberLikeAndStudentNameLike(String studentId, String courseId, String teacherId, String classId, String studentSchoolNumber, String studentName , Pageable pageable);

}
